package com.ruoyi.ldzlsb.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import java.util.List;

/**
 * 巡检配置对象 sb_inspection_config
 * 
 * @author anli
 * @date 2025-01-11
 */
public class SbInspectionConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配置ID */
    private Long configId;

    /** 配置编码 */
    @Excel(name = "配置编码")
    private String configCode;

    /** 配置名称 */
    @Excel(name = "配置名称")
    private String configName;

    /** 设备类型ID */
    @Excel(name = "设备类型ID")
    private Long equipmentTypeId;

    /** 设备类型名称 */
    @Excel(name = "设备类型")
    private String equipmentTypeName;

    /** 配置类别（0标准 1自定义） */
    @Excel(name = "配置类别", readConverterExp = "0=标准,1=自定义")
    private String configCategory;

    /** 巡检标准 - 兼容旧版本API，已迁移到巡检项 */
    private String configStandards;
    
    /** 巡检方法 - 兼容旧版本API，已迁移到巡检项 */
    private String configMethods;
    
    /** 检测单位 - 兼容旧版本API，已迁移到巡检项 */
    private String configUnit;
    
    /** 正常范围 - 兼容旧版本API，已迁移到巡检项 */
    private String normalRange;
    
    /** 数据类型 - 兼容旧版本API，已迁移到巡检项 */
    private String dataType;
    
    /** 选项值 - 兼容旧版本API，已迁移到巡检项 */
    private String optionValues;
    
    /** 是否必填 - 兼容旧版本API，已迁移到巡检项 */
    private String isRequired;
    
    /** 预警阈值 - 兼容旧版本API，已迁移到巡检项 */
    private String warningThreshold;
    
    /** 报警阈值 - 兼容旧版本API，已迁移到巡检项 */
    private String alarmThreshold;
    
    /** 排序 - 兼容旧版本API，已迁移到巡检项 */
    private Integer sortOrder;

    /** 状态（0停用 1正常） */
    @Excel(name = "状态", readConverterExp = "0=停用,1=正常")
    private String configStatus;

    /** 是否删除 */
    private String isDelete;
    
    /** 巡检项列表 */
    private List<SbInspectionItem> inspectionItems;

    public Long getConfigId() {
        return configId;
    }

    public void setConfigId(Long configId) {
        this.configId = configId;
    }

    public String getConfigCode() {
        return configCode;
    }

    public void setConfigCode(String configCode) {
        this.configCode = configCode;
    }

    public String getConfigName() {
        return configName;
    }

    public void setConfigName(String configName) {
        this.configName = configName;
    }

    public Long getEquipmentTypeId() {
        return equipmentTypeId;
    }

    public void setEquipmentTypeId(Long equipmentTypeId) {
        this.equipmentTypeId = equipmentTypeId;
    }

    public String getEquipmentTypeName() {
        return equipmentTypeName;
    }

    public void setEquipmentTypeName(String equipmentTypeName) {
        this.equipmentTypeName = equipmentTypeName;
    }

    public String getConfigCategory() {
        return configCategory;
    }

    public void setConfigCategory(String configCategory) {
        this.configCategory = configCategory;
    }
    
    public String getConfigStandards() {
        return configStandards;
    }

    public void setConfigStandards(String configStandards) {
        this.configStandards = configStandards;
    }
    
    public String getConfigMethods() {
        return configMethods;
    }

    public void setConfigMethods(String configMethods) {
        this.configMethods = configMethods;
    }
    
    public String getConfigUnit() {
        return configUnit;
    }

    public void setConfigUnit(String configUnit) {
        this.configUnit = configUnit;
    }
    
    public String getNormalRange() {
        return normalRange;
    }

    public void setNormalRange(String normalRange) {
        this.normalRange = normalRange;
    }
    
    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }
    
    public String getOptionValues() {
        return optionValues;
    }

    public void setOptionValues(String optionValues) {
        this.optionValues = optionValues;
    }
    
    public String getIsRequired() {
        return isRequired;
    }

    public void setIsRequired(String isRequired) {
        this.isRequired = isRequired;
    }
    
    public String getWarningThreshold() {
        return warningThreshold;
    }

    public void setWarningThreshold(String warningThreshold) {
        this.warningThreshold = warningThreshold;
    }
    
    public String getAlarmThreshold() {
        return alarmThreshold;
    }

    public void setAlarmThreshold(String alarmThreshold) {
        this.alarmThreshold = alarmThreshold;
    }
    
    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public String getConfigStatus() {
        return configStatus;
    }

    public void setConfigStatus(String configStatus) {
        this.configStatus = configStatus;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }
    
    public List<SbInspectionItem> getInspectionItems() {
        return inspectionItems;
    }
    
    public void setInspectionItems(List<SbInspectionItem> inspectionItems) {
        this.inspectionItems = inspectionItems;
    }

    @Override
    public String toString() {
        return "SbInspectionConfig{" +
                "configId=" + configId +
                ", configCode='" + configCode + '\'' +
                ", configName='" + configName + '\'' +
                ", equipmentTypeId=" + equipmentTypeId +
                ", equipmentTypeName='" + equipmentTypeName + '\'' +
                ", configCategory='" + configCategory + '\'' +
                ", configStandards='" + configStandards + '\'' +
                ", configMethods='" + configMethods + '\'' +
                ", configUnit='" + configUnit + '\'' +
                ", normalRange='" + normalRange + '\'' +
                ", dataType='" + dataType + '\'' +
                ", optionValues='" + optionValues + '\'' +
                ", isRequired='" + isRequired + '\'' +
                ", warningThreshold='" + warningThreshold + '\'' +
                ", alarmThreshold='" + alarmThreshold + '\'' +
                ", sortOrder=" + sortOrder +
                ", configStatus='" + configStatus + '\'' +
                ", isDelete='" + isDelete + '\'' +
                ", inspectionItems=" + inspectionItems +
                '}';
    }
} 